class User:
    def __init__(self,first_name,last_name,login_attempts):
        self.first_name     = first_name
        self.last_name      = last_name
        self.login_attempts = login_attempts
        self.sex            = 'man'

    def describe_user(self):
        print(f"The user name is {self.first_name.title()} {self.last_name.title()}")
    def greet_user(self):
        print(f"Hello,{self.first_name} {self.last_name},you are a good {self.sex.title()}")
    def increment_login_attempts(self):
        self.login_attempts += 1
    def reset_login_attempts(self):
        self.login_attempts = 0
class Privileges:
    def __init__(self):
        self.privileges = ["can add post","can delete post","can ban user"]

    def show_privileges(self):
        print(f"The privileges is:\n\t{self.privileges}")

class Admin(User):
    def __init__(self,first_name,last_name,login_attempts):
        super().__init__(first_name,last_name,login_attempts)
        self.privileges = Privileges()